import {Rate} from "antd-mobile";

interface RowProps {
    content?: number
    title?: string
}

function Row({content, title}: RowProps) {
    return (
        <div className="row">
            <span>{title}</span>
            <span>
                  <Rate readOnly value={content}/>
            </span>
        </div>
    )
}

export default Row;